home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / util / text / frexxedv.lha / FrexxEdpatch / fpl / WordPro.FPL.README < prev   
Text File  |  1995-09-22  |  4KB  |  84 lines

  1. #############################################################################
  2. File:        WordPro.FPL
  3. Author:        Daniel Stenberg
  4. Email:        Daniel.Stenberg@sth.frontec.se
  5. Short:        Paragraph oriented word wrap and much more.
  6. Version:    1.0 - please report/fix bugs!
  7. Date:        22.9.95
  8. Local settings:    a few
  9. Global settings: a few
  10. Keysequence:    a few
  11. Type:        hooks/keys/mode
  12. Prereq:
  13. Copyright:    (C) by FrexxWare 1995
  14. #############################################################################
  15.  
  16. FUNCTION
  17.   The main function of this program is a *TRUE* word-processor style
  18. interactive paragraph oriented word wrap. With this, I mean word wrapping
  19. where all newlines inserted because a word wrap was required, are called
  20. 'soft newlines', and when i.e a line with a 'soft' newline gets short enough,
  21. the first word from the line below will get moved to the line of the deletion.
  22.   You'll understand it if you try it.
  23.  
  24.   All soft newlines will be visible with '^'-characters. They are left visible
  25. only for the user to better control and know where they are and how the buffer
  26. is treated.
  27.  
  28.   This program also features functions for:
  29.  * Open files into wordpro-mode. Adds 'soft' newlines to all lines it thinks
  30.    are part of the same paragraph. It will also wrap all lines longer than
  31.    the defined allowed width.
  32.  * Wrap block. Does a similar operation like the 'Open' but instead of a new
  33.    file, it operates on the marked block.
  34.  * Preferences customization. Brings up a window which lets the user select
  35.    a few things.
  36.  
  37. PREFERENCES
  38.  - 'wall_right' - Where the right edge is - where all wraps should occur.
  39.  - 'wordpro' mode on/off for the current buffer.
  40.  - 'wordpro_fitprev', which if disabled makes the program never check if
  41.    the first word of the current line fits on the line above. Slight speed
  42.    improvement on slower machines.
  43.  - 'wordpro_save' - Save mode. The user can select a few ways how to save all
  44.    buffers in 'wordpro' mode:
  45.    RAW saves the buffer just as you see it, including the raw codes for soft
  46.    newlines. If you intend to edit the file again in 'wordpro' mode, you
  47.    should save it with this, otherwise there is hardly any reason to do it.
  48.    SOFTS TOO saves the buffer with all newlines left, including the soft ones.
  49.    This will save the buffer just like it looks on screen, but without the
  50.    soft newline characters.
  51.    ONLY HARDS replaces all soft newlines with spaces before saving. Only hard
  52.    newlines will be left as real newlines.
  53.    QUERY makes the save operation query which save mode to use every time save
  54.    is requested.
  55.  - 'wordpro_open' makes all regular opens wrap the input files if enabled.
  56.    If disabled, only files loaded with the wordpro-open function will get
  57.    wrapped when read!
  58.  
  59. HISTORY
  60.  0.1ß    - The first version I really believe actually works!
  61.  1.0    - Fixed the bug that was reported by Christer Enfors:
  62.       When adding text to the end of a line what wasn't the last line
  63.       and it wasn't previously wrapped, the cursor got on the wrong
  64.       position when it did wrap.
  65.     - Inserting a lot of spaces before the last word of a line, until
  66.       that word get wrapped, now tries to move the cursor down to
  67.       the next line instead of remaining on the first line.
  68.  
  69. BUGS
  70.   I bet there still are some. Report 'em!
  71.  
  72. TODO
  73. * Make it quote-aware, editing quoted lines would be a KILLER! ;)
  74.  
  75. * Make it support some kind of left margin to make it useable when editing
  76. texts that don't start in the first column.
  77.  
  78. * Spell checking. Perhaps auto-invoked on save.
  79.  
  80. * BOLD/ITALIC/UNDERLINED codes support for Spot ((C) by Nico François)
  81.  
  82. SEE ALSO
  83.   WordWrap.FPL - for a simpler and faster word wrap.
  84.